package cong;

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class Fangshi3 {
    @Before("execution(* cong.Fangdong.rent())")
    public void before() {
        System.out.println("方式三的aop前");
    }

    @After("execution(* cong.Fangdong.rent())")
    public void after() {
        System.out.println("方式三的op后边");
    }
}
